import { WebRequest } from "./web";


// const env = wx ? 'wx' : 'web';
const env = 'web';

export const get = (url, data, ...args) => {
    if (env === 'wx') {

    } else {
        return WebRequest.get(url, data,...args);
    }
}

export const post = (url, data, ...args) => {
    if(env === 'wx'){

    }else{
        return WebRequest.post(url, data, ...args);
    }
}